// cover some element-ui styles
.el-menu {
  background-color: var(--asideBg) !important;
}
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}
.el-drawer__header {
  margin-bottom: 5px;
}
.el-dialog__title {
  font-size: 16px;
}
.el-dialog__body,
.el-drawer__body {
  padding: 0 20px 20px 20px;
}
//Form 表单
.el-form-item__label {
  font-size: $fontSize;
}
.btn-box .el-form-item__content {
  margin-left: 0 !important;
  margin-top: 20px;
}
// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// .el-tooltip .popper {
//   animation: none !important;
// }
// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

//折叠面板
.el-collapse {
  border-top: none;
}
.el-descriptions__header {
  margin-bottom: 0;
}
.el-collapse-item__header {
  .el-collapse-item__arrow {
    font-size: 14px;
  }
}
.el-collapse-item__content {
  padding-bottom: 10px !important;
}

//el-descriptions
.el-descriptions-item__content {
  color: #333;
  line-height: 25px;
  white-space: pre-line;
}
.el-descriptions-item__label {
  // color: #555;
  color: #333;
  font-weight: 600;
  line-height: 25px;
}
.el-descriptions__title {
  color: #001e5a;
  padding-left: 5px !important;
  margin: 10px 0;
  font-size: $fontSize;
  font-weight: 600;
  border-left: 5px solid #001e5a;
  line-height: 1;
}

//el-table
.el-table {
  font-size: $fontSize;
  .cell {
    overflow: visible;
    .el-form-item__content {
      margin-left: 0 !important;
      .el-form-item__error {
        line-height: 5px;
        overflow: visible;
        z-index: 9;
      }
    }

    .el-form-item {
      margin: 5px 0;
    }
  }
}
.el-table .cell a {
  color: $themeColor;
}
.el-table .cell.el-tooltip {
  overflow: hidden;
}
.el-table .cell {
  //如果内容有\n就会换行
  white-space: pre-line;
}
.el-table .must div:before {
  content: "*";
  color: #ff1818;
}

//el-pagination 分页样式
.el-pagination {
  margin-top: 10px;
  text-align: center;
}
//el-link
.el-link {
  font-size: $fontSize;
}

//PageHeader页头组件
.el-page-header {
  margin-bottom: 10px;
}
.el-page-header__content {
  font-size: 14px;
}
.el-popover {
  max-height: 500px;
  overflow: hidden;
}

.el-select-dropdown {
  max-width: 400px;
}
.el-notification__content {
  white-space: pre-wrap;
}

// el-collapse 箭头放到前边
.el-collapse-arrow-left {
  .el-collapse-item__arrow {
    position: absolute;
    left: 0;
  }
  .el-collapse-item__header {
    position: relative;
    // background-color: #eee !important;
    padding-left: 20px;
  }
}
.el-textarea__inner {
  font-family: NotoSans !important;
}
.el-table {
  color: #1F2733;
}
